﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" MasterPageFile="~/MasterPage.master" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<asp:Content ID="Header" ContentPlaceHolderID="HeaderStyle" runat="server">
    <link href="../css/lightbox.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="main" ContentPlaceHolderID="main" runat="server">
    <div class="row">
        <div class="col-md-3">
            <div class="panel panel-primary ">
                <div class="panel-heading">
                    <h3 class="panel-title">相册分类</h3>
                </div>
                <div class="panel-body">
                    <ul class="nav nav-pills nav-stacked">
                        <li role="presentation" class="active"><a href="Default.aspx">我的日常工作</a></li>
                        <li role="presentation"><a href="Default.aspx?ID=1">我的证书</a></li>
                        <li role="presentation"><a href="Default.aspx?ID=2">政府大院的树叶</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="col-md-9">
            <div class="panel panel-primary">
                <div class="panel-heading" style="padding: 5px;">
                    <ol class="breadcrumb" style="margin: 0px;">
                        <li><a href="Default.aspx">首页</a></li>
                        <li class="active">律师文采</li>
                    </ol>
                </div>
                <div class="panel-body" style="background: #eaeaea;">
                    <asp:Repeater ID="Repeater1" runat="server">
                        <ItemTemplate>
                            <a href="<%#Eval("ImgSrc") %>" data-lightbox="image-1" data-title="<%=GetClass() %>">
                                <img src="<%#Eval("ImgMiniSrc") %>" style="width: 130px; overflow: hidden; height: 100px;" alt="face" class="img-thumbnail" />
                            </a>
                        </ItemTemplate>
                    </asp:Repeater>
                    <webdiyer:AspNetPager ID="AspNetPager1" CurrentPageButtonClass="" runat="server"
                        FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" ShowCustomInfoSection="Left"
                        ShowInputBox="Never" OnPageChanged="AspNetPager1_PageChanged" CustomInfoTextAlign="Left" LayoutType="Table" UrlPaging="True" CustomInfoHTML="总页 %CurrentPageIndex% / %PageCount%" PageSize="18">
                    </webdiyer:AspNetPager>
                </div>
            </div>
        </div>
    </div>
    <a href="js/lightbox.min.map"></a>
</asp:Content>
<asp:Content ID="js" ContentPlaceHolderID="footerJS" runat="server">
    <script src="../js/lightbox.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $(".navbar-collapse").find("li").eq(6).addClass("active").siblings().removeClass("active");
            $(".panel-body").find("li").eq(<%=Num %>).addClass("active").siblings().removeClass("active");
        });
    </script>
</asp:Content>
